package com.sh.data.engine.domain.datadev.offline.model.domain;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

@Data
public class OfflineDevRemoveDomain {

    /**
     * 最外层一定是工作流 工作流PID固定为2
     */

    // 后续生成
    private Long id;

    private String name;

    private Long pid;

    /**
     * 项目id
     */
    private Long projectId;

    private Integer isSystem;

    /**
     * 目录排序
     */
    private Integer sort;

    /**
     * @see com.sh.data.engine.common.enumDefinition.FlinkNodeTypeEnum
     */
    private Integer nodeType;

    private Integer isLocked = 1;

    /**
     * 描述
     */
    private String remark;

    private Integer rowState = 1;

    private String creatorId;

//  private OfflineDevTaskConfigEntity offlineDevTaskConfig;

    private List<OfflineDevRemoveDomain> children = Lists.newArrayList();
}
